<?php /* Smarty version Smarty-3.1.18, created on 2015-07-17 17:51:25
         compiled from "D:\WWW\yf_qiaqia\Admin\View\Admin\add_user.html" */ ?>
<?php /*%%SmartyHeaderCode:1358255a8d01d0e1958-02280399%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '149454e4a8b2022a812b59770d45427bc743f78b' => 
    array (
      0 => 'D:\\WWW\\yf_qiaqia\\Admin\\View\\Admin\\add_user.html',
      1 => 1436173512,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1358255a8d01d0e1958-02280399',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    '_C' => 0,
    'user_info' => 0,
    'user_group' => 0,
    'group' => 0,
    'id' => 0,
    '_L' => 0,
    'action' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_55a8d01d21e019_63102643',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_55a8d01d21e019_63102643')) {function content_55a8d01d21e019_63102643($_smarty_tpl) {?><!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
css/amazeui.min.css" />
		<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
css/hy.admin.css" />
	</head>

	<body>
		<div class="am-g">
			<?php echo $_smarty_tpl->getSubTemplate ('../Common/hy_header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

			<div class="am-u-md-8 am-u-end">
				<form class="am-form am-form-horizontal hy-js-form">
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">用户名</label>
						<div class="am-u-sm-9">
							<input type="text" name="username" value="<?php echo $_smarty_tpl->tpl_vars['user_info']->value['username'];?>
" placeholder="用户名">
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">密码</label>
						<div class="am-u-sm-9">
							<input type="password" name="new_password" placeholder="密码">
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">确认密码</label>
						<div class="am-u-sm-9">
							<input type="password" name="confirm_password" placeholder="确认密码">
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">用户组</label>
						<div class="am-u-sm-9">
							<select name="group_id">
								<?php  $_smarty_tpl->tpl_vars['group'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['group']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['user_group']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['group']->key => $_smarty_tpl->tpl_vars['group']->value) {
$_smarty_tpl->tpl_vars['group']->_loop = true;
?>
								<option <?php if ($_smarty_tpl->tpl_vars['user_info']->value['group_id']==$_smarty_tpl->tpl_vars['group']->value['id']) {?> selected="selected"<?php }?> value="<?php echo $_smarty_tpl->tpl_vars['group']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['group']->value['role_name'];?>
</option>
								<?php } ?>
							</select>
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">邮箱地址</label>
						<div class="am-u-sm-9">
							<input type="text" name="email" value="<?php echo $_smarty_tpl->tpl_vars['user_info']->value['email'];?>
" >
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">QQ</label>
						<div class="am-u-sm-9">
							<input type="text" name="qq" value="<?php echo $_smarty_tpl->tpl_vars['user_info']->value['qq'];?>
">
						</div>
					</div>
					<div class="am-form-group">
						<div class="am-u-sm-9 am-u-sm-push-3">
							<input type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
" />
							<button type="button" class="am-btn am-btn-primary hy-js-submit"><?php echo $_smarty_tpl->tpl_vars['_L']->value['SAVE'];?>
</button>
						</div>
					</div>
				</form>
			</div>
		</div>
		<?php echo $_smarty_tpl->getSubTemplate ('../Common/hy_footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

		<script type="text/javascript">
		   hy_submit('index.php?g=admin&m=admin&a=<?php echo $_smarty_tpl->tpl_vars['action']->value;?>
');
		</script>
	</body>

</html><?php }} ?>
